import Devices from "../com/content/Devices";
import Scan from "../com/content/Scan";
import Account from "../com/content/Account";
import DeviceSetting from "../com/content/DeviceSetting";

export const routers = [
    {
        path: '/',
        exact: true,
        component: Devices
    },
    {
        path: '/account',
        exact: true,
        component: Account
    },
    {
        path: '/scan/:sn',
        exact: true,
        component: Scan
    },
    {
        path: '/device/:id',
        exact: true,
        component: DeviceSetting
    },
];